package com.holly.unit.bpmn.activiti.pojo;

import com.holly.unit.core.pojo.request.BaseRequest;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description: 入口管理
 * @Author: holly
 * @Date:   2022-03-21
 * @Version: V1.0
 */
@Data
public class ActFromRequest extends BaseRequest {

	/**删除标记：Y-已删除，N-未删除*/
	@NotNull(message = "是否删除不能为空", groups = {delete.class})
	private String delFlag;
	/**所属分类Id*/
	@NotNull(message = "所属分类Id不能为空", groups = {edit.class, add.class})
	private Long categoryId;
	/**主键*/
	@NotNull(message = "主键不能为空", groups = {edit.class,delete.class})
	private String id;
	/**（design_form表Id）*/
	private String formId;
	/**备注*/
	private String remark;
	@NotNull(message = "类型不能为空", groups = {edit.class, add.class})
	private Integer type;

	/** 表单名称 */
	private String desformName;

	@NotNull(message = "模型Id不能为空", groups = {edit.class, add.class})
	private String modeId;

	/**关联前端表单路由名*/
	private String routeName;

	@NotNull(message = "关联业务表名不能为空", groups = {edit.class, add.class})
	private String businessTable;

}
